package org.yan.stock.server.client;

public abstract class ClientServiceFactory {
	
	private static final Object lock = new Object();
	
	private static DefaultClientService clientService;
	
	public static DefaultClientService getClientService() {
		synchronized (lock) {
			if(clientService == null) {
				clientService = new DefaultClientService();
			}
		}
		return clientService;
	}
}
